//
//  EpointAVCallViewController.h
//  EpointFrame5
//
//  Created by 李亚春 on 14-1-23.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import "EpointPhoneViewController.h"
#import <AVFoundation/AVFoundation.h>

@interface EpointAVCallViewController : EpointPhoneViewController<AVCaptureVideoDataOutputSampleBufferDelegate>
{
    //UI
    UILabel*labelState;
    UIButton*btnStartVideo;
    UIView*localView;
    
    AVCaptureSession* avCaptureSession;
    AVCaptureDevice *avCaptureDevice;
    BOOL firstFrame; //是否为第一帧
    int producerFps;
}


- (void)createControl;
- (AVCaptureDevice *)getFrontCamera;
- (void)startVideoCapture;
- (void)stopVideoCapture:(id)arg;@end
